package com.sdsy.blockchaintrainingback.pojo.training;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdsy.blockchaintrainingback.mapper.BaseMapperX;
import com.sdsy.blockchaintrainingback.pojo.common.BaseDO;
import lombok.*;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户实训与容器的关联信息。
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user_training_container_relation")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserTrainingContainerRelation extends BaseDO {

    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 用户实训ID */
    private Integer userTrainingId;

    /** 容器Id  */
    private String containerId;

    /** 容器端口 */
    private Integer containerPort;

    /** 容器类型 */
    private Integer type;

    /** 容器名称 */
    private String containerName;

    /** 容器vnc密码 */
    private String containerVncPassword;
}

